<%--
    Created by IntelliJ IDEA.
    User: Re
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>个人主页</title>
</head>
<body>
<div style="background-color: lightgray">
    <h2>${user.userName}的个人主页</h2>
    <div style="display:block"><img style="height: 200px;width: 200px;background-color: aquamarine" src="upload/${user.img}"></div>
    <form action="photo.do" method="post" enctype="multipart/form-data">
        <input type="file" name="file">
        <input type="submit" value="提交">
    </form>
    <form action="exit" method="post">
        <button type="submit" name="exit" value="exit">退出登录</button>
    </form>
<%--    <form action="" method="post">
        <button type="submit" name="" value="">购物车</button>
        <button type="submit" name="" value="">订单</button>
    </form>--%>
</div>
</body>
</html>
